package com.snake.springboot.authority.dao.mybatis.mappers;

import com.snake.springboot.authority.dao.mybatis.entity.AuthRoleDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AuthRoleMapper {

    int delete(String roleId);

    int insert(AuthRoleDO record);

    List<AuthRoleDO> findByCondition(AuthRoleDO condition);

    AuthRoleDO findById(String roleId);

    int update(AuthRoleDO record);
}